﻿@model HotelRegistrationSystem.Models.ResetPasswordModel

@{
    ViewBag.Title = "ResetPassword";
}

<h2>Password Reset</h2>
@*<p>To Reset your password and recieve it via email enter below your Username and press the "Reset Password" button<br /></p>*@

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        @*<legend>ResetPasswordModel</legend>*@
            <div class="row">
       <div class="six columns">
           <div class="row">
               <div class="six columns">
@*            @Html.LabelFor(m => m.UserName)
            @Html.TextBoxFor(m => m.UserName, new { placeholder = "Username" })
            @Html.ValidationMessageFor(m => m.UserName)*@
         </div>
           </div>
       </div>
   </div>
        <p>
            <ul style="list-style:none;">
                <span style="color:red;">
                    @foreach (var msg in (List<string>)TempData["Message"])
                    {
                        <li>
                           @msg
                        </li>
                    }
                </span>
            </ul>
        </p>

@*        <p>
            <input type="submit" value="Reset Password" />
        </p>*@
    </fieldset>
}

<div>
    @Html.ActionLink("Back to Log in", "Login")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}